package school.xauat.offershow.swaggercontroller;

import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import school.xauat.offershow.pojo.Business;
import school.xauat.offershow.pojo.Comment;
import school.xauat.offershow.pojo.Education;
import school.xauat.offershow.pojo.Entry;

/**
 * @author ：zsy
 * @date ：Created 2021/12/15 23:47
 * @description：
 */
@RestController
@Api(tags = {"Model Controller"})
public class Controller {

    @GetMapping("entry")
    public Entry entry() {
        return new Entry();
    }

    @GetMapping("/education")
    public Education education() {
        return new Education();
    }

    @GetMapping("/comment")
    public Business business() {
        return new Business();
    }
}
